Real String ActiveX v2.2 (build 10 September, 98 | File: RS.OCX | Size: 52,224 bytes)
rs.gif (713 bytes)By Great Beard.
E-mail: grtbeard@geocities.com
Homepage: http://www.geocities.com/SiliconValley/Haven/4274
Download page: http://www.geocities.com/SiliconValley/Haven/4274/download.htm
If you find any changes in this document or others, please, e-mail me where you got that document!
This HTML-based help is designed for MS Internet Explorer 4.01 and higher versions (like MSIE 5.0 Preview 1)

Description: This control allows you to design your forms with running string, the same as in MOD4WIN. 7 variants of displaying this string, 3D borders, custom colors (fore-, back-ground, shade). Languages: EN, RU. Symbols: A-Z, 0-9, <space>, ""`'.,!?~#-+()[]=\/$*^%&_<>:;@| {}. Plus all Russians letters.

Properties    Methods    Events    System Requirements     History (bugs, updates)

Properties:

Property

Data type Description
Backward Boolean Returns/Sets direction (True left->right, False right->left).
Background (Color) The color of the background.
Delay Integer Returns/Sets delay in periods of Interval property.
Enabled Boolean Defines the state of control.
Foreground (Color) The color of light points of text.
hWnd (Handle) Window Handle to this control.
Interval Integer Returns/Sets interval for scrolling steps in msec.
Length Integer Returns/Sets length of Real String Control (min = 1; max = 33; default = 12).
Looped Boolean If True then the scroll is looped.
MouseIcon (Icon) This Icon or Cursor is used for mousepointer when mouse is over the button and MousePointer is set to 99.
MousePointer mousepointerconstants (Integer) This value set the mousepointer to one of the predefined values.
Default = 0,
Arrow = 1,
Cross = 2,
IBeam = 3,
SizeAll = 4,
SizeNESW = 5,
SizeNS = 6,
SizeNWES = 7,
SizeWE = 8,
UpArr = 9,
HGlass =10,
NoDrop =11,
ArrHg =12,
Custom =99.
OutPixels Boolean If True - additional row of pixels is displayed around the control.
RString String Text to be displayed.
Shade (Color) The color of black points of text.
TDBorder Boolean If True - 3D borders are on.
TrimLeft Boolean Strips spaces in left.
TrimRight Boolean Strips spaces in right.

Back to the top.
Methods:

Method Parameters Description
AboutBox none Displays AboutBox
Clear none Fills control (RString) with spaces.
DoIt Style as Integer Runs Real String.
Style:
(if length of the text is less than length of the Control, no scrolling)
Alignment:
0 - Left.
1 - Center.
2 - Right.
(any case, scrolling):
10 - Adds (Length) spaces in the beginning of the text.
11 - Adds (Length) spaces in the beginning and in the end of the text.
12 - Adds (Length) spaces in the end of the text.
13 - No additional spaces (As Is).
(any other) - DEMO mode: First cycle - spaces in the end of the text, next cycles - the same as 11.
GoOn none Continues scrolling after pause method.
Pause none Sets scrolling on pause.
Stop none Stops scrolling.

Back to the top.
Events (only non-standard):

Event Parameters Description
Done Position as Integer Occurs when mouse appears over the button.
Moving EndPosition as Integer, ByUser as Boolean Occurs when scrolling is complete (if Looped set to False).
EndPosition shows the position of text from the beginning at the end of scrolling.
ByUser indicates whether user stopped the scrolling.

Back to the top.
System Requirements:

-Windows'95
- MFC DLLs (mfc42.DLL, msvcrt.DLL...)

History (bugs, updates):

Version Date (dd/mm/yy) Description
2.2 10/09/98 Modification:
- Allows to change length at Run-Time mode. Now it redraws the control, but this method isn't recommended.
2.1 19/06/98 Removed bugs:
- DoIt method now works from Load, Initialize and Activate events of VB.
2.0 31/05/98 All pervious versions were not published. They were used for personal purposes.

Back to the top.